package com.yy.tech.data.context;

/**
 * @author yy
 * @version 1.0.0
 * @date 星期一
 * @description: TODO
 */
public interface SecretContent {
    String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
    String LOCAL_DATE_FORMAT = "yyyy-MM-dd";
    String LOCAL_TIME_FORMAT = "HH:mm:ss";
    String DEFAULT_CHARSET = "UTF-8";
    String DEFAULT_RESOURCE_DIR = "desensitized";
    String DEFAULT_RESOURCE_POST = "*.json";
    //
    String DECODER_AES256 = "AES256Decoder";
    String DECODER_BASE64 = "BASE64Decoder";
    String ENCODER_AES256 = "AES256Encoder";
    String ENCODER_BASE64 = "BASE64Encoder";
    String ENCODER_MASK = "MaskEncoder";
    String ENCODER_MASK_LEN = "16";//
    String ENCODER_MASK_MODE = "0";//0 both,1.middle,2 all
    String ENCODER_MASK_CHAR = "*";
    String DEFAULT_ENCODER = ENCODER_AES256;
    String DEFAULT_DECODER = DECODER_AES256;

    String DEFAULT_SECRET_AES256_KEY32 = "AZPOIWSDXCFCDFGTRFGHBNVGFVGFDCXS";
    String DEFAULT_SECRET_AES256_PARAM16= "UIJUNMKILOGHBVFR";

    String MAPPER_FILTER_NAME = "desensitizeFilterName";
    String MAPPER_MAP_FILTER_NAME = "desensitizeMapFilterName";
    String DESENSITIZE_OBJECT_MAPPER = "desensitizeObjectMapper";
    String DESENSITIZE_KEY_BASE = "spring.desensitize.";


    String KEY_JACKSON_DATE_FORMAT ="spring.jackson.date-format";
    String KEY_JACKSON_LOCAL_DATE_FORMAT="spring.jackson.local-date-format";
    String KEY_JACKSON_LOCAL_TIME_FORMAT="spring.jackson.local-time-format";
    String KEY_DESENSITIZE_ENABLE =DESENSITIZE_KEY_BASE+"enable";
    String KEY_DESENSITIZE_ENCODER =DESENSITIZE_KEY_BASE+"encoder";
    String KEY_DESENSITIZE_DECODER =DESENSITIZE_KEY_BASE+"decoder";
    String KEY_DESENSITIZE_RESOURCE_DIR =DESENSITIZE_KEY_BASE+"resource.dir";
    String KEY_DESENSITIZE_RESOURCE_POST =DESENSITIZE_KEY_BASE+"resource.post";
    String KEY_DESENSITIZE_SECRET_PROPERTIES =DESENSITIZE_KEY_BASE+"secret.properties";
    String KEY_DESENSITIZE_SECRET_EXCLUDES=DESENSITIZE_KEY_BASE+"secret.excludes";
    String KEY_DESENSITIZE_SECRET_ENCODER =DESENSITIZE_KEY_BASE+"secret.encoder";
    String KEY_DESENSITIZE_SECRET_DECODER =DESENSITIZE_KEY_BASE+"secret.decoder";
    String KEY_DESENSITIZE_SECRET_AES256_KEY32 =DESENSITIZE_KEY_BASE+"secret.aes256.key32";
    String KEY_DESENSITIZE_SECRET_AES256_PARAM16 =DESENSITIZE_KEY_BASE+"secret.aes256.param16";
    String KEY_DESENSITIZE_PARAM_DECODER =DESENSITIZE_KEY_BASE+"param.decoder";
    String KEY_DESENSITIZE_ENCODER_MASK_LEN=DESENSITIZE_KEY_BASE+"mask_encoder.len";
    String KEY_DESENSITIZE_ENCODER_MASK_MODE=DESENSITIZE_KEY_BASE+"mask_encoder.mode";
    String KEY_DESENSITIZE_ENCODER_MASK_CHAR=DESENSITIZE_KEY_BASE+"mask_encoder.char";


}
